//
//  HttpClient.h
//  DebugDemo
//
//  Created by XFB on 2019/5/8.
//  Copyright © 2019 ZhouCheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BasePresenter.h"

@interface HttpClient : NSObject

- (instancetype)initWithHandle:(PresenterSuccessCallBack)successBlock
                  failureBlock:(PresenterFailureCallBack)failureBlock;

- (void)get:(NSString *)urlString parameter:(id)parameter;
- (void)post:(NSString *)urlString parameter:(id)parameter;

@property (nonatomic, copy) PresenterSuccessCallBack successBlock;
@property (nonatomic, copy) PresenterFailureCallBack failureBlock;



@end
